<%- include header %>
<a class="secondpage" title="全部" href="/archive">All</a>
<font color="#00F">Original</font>
<a class="secondpage" title="转载" href="/reprint">Reprint</a>
<ul class="archive">
<% var lastYear = 0 %>
<% posts.forEach(function (post, index) { %>
  <% if(post.title.indexOf('[转载]') !== 0) { %>
  <% if (lastYear != post.time.year) { %>
    <li><h3><%= post.time.year %></h3></li>
  <% lastYear=post.time.year } %>
  <li><time><%= post.time.day %></time></li>
  <li><a href="/u/<%= post.name %>/<%= post.time.day %>/<%= post.title %>"><%= post.title %></a></li>
  <% } %>
<% }) %>
</ul>
<%- include footer %>